From: Richard M. Stallman Date: Wed, 25 Oct 1995 19:33:48 +0000 (+0000) Subject: (string_match_1): Pass the POSIX arg to compile_pattern. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~85774 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=24b704fa6e80f7eae66bfcbb38857b9cf0bc214b;p=emacs.git (string_match_1): Pass the POSIX arg to compile_pattern. --- diff --git a/src/search.c b/src/search.c index 7813ca67ec5..c426fe91833 100644 --- a/src/search.c +++ b/src/search.c @@ -309,7 +309,7 @@ string_match_1 (regexp, string, start, posix) bufp = compile_pattern (regexp, &search_regs, (!NILP (current_buffer->case_fold_search) ? DOWNCASE_TABLE : 0), - 0); + posix); immediate_quit = 1; val = re_search (bufp, (char *) XSTRING (string)->data, XSTRING (string)->size, s, XSTRING (string)->size - s,